projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13d968a
)
Fix for position bug
author
Michael Emmel
<mike.emmel@gmail.com>
Sat, 24 Oct 2009 15:17:06 +0000
(17:17 +0200)
committer
Javier Jardón
<jjardon@gnome.org>
Sat, 24 Oct 2009 15:20:50 +0000
(17:20 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=590800
gdk/directfb/gdkwindow-directfb.c
patch
|
blob
|
history
diff --git
a/gdk/directfb/gdkwindow-directfb.c
b/gdk/directfb/gdkwindow-directfb.c
index 30ec834d18ea6fb8dd0e244d3596badeda032ecc..1cc943ec62875bdbf2ecd0c76592633d49a475f3 100644
(file)
--- a/
gdk/directfb/gdkwindow-directfb.c
+++ b/
gdk/directfb/gdkwindow-directfb.c
@@
-1522,13
+1522,14
@@
gdk_directfb_window_move_resize (GdkWindow *window,
}
else if (impl->window)
{
- private->x = x;
- private->y = y;
+ if (with_move) {
+ private->x = x;
+ private->y = y;
+ impl->window->MoveTo (impl->window, x, y);
+ }
impl->drawable.width = width;
impl->drawable.height = height;
- if (with_move)
- impl->window->MoveTo (impl->window, x, y);
impl->window->Resize (impl->window, width, height);
}
else